First pass at documenting assert preprocessor directives#519
First pass at documenting assert preprocessor directives#519tclune merged 34 commits intoGoddard-Fortran-Ecosystem:developfrom
Conversation
|
Somehow I missed this PR in December. Or rather probably did not have time and then forgot about it. Please rebase to develop, and I'll review it this week and fold it into the next release. |
|
@connoraird Can you rebase this? We are getting close to make a new release. |
|
Sorry. I shall work on this first thing tomorrow. |
Thanks. We just don't want to lose all your hard work 🙂 |
b6e148d to
2fca6b6
Compare
|
@connoraird I think you might need to tweak This looks like it might have something to do with #533 from @tclune ? I'm not sure. I mean, it's like there is either a space missing or a space now needed. I think you need to add a comma and a space? |
Hopefully that's done it @mathomp4? |
Forgot to press the "Run workflows" button. We shall see soon. Also, could you maybe add an entry to our changelog for your PR? |
|
Sigh. I might turn off that "approve fork repo workflows" thing. I mean, it's just github tests! Running one more time! |
Summary of changes
The documentation can be generated by running the following command from within the documentation directory (tested with doxygen version 1.15.0, homebrew)
Notes
There is still a lot to be done on the docs beyond anything I've tried to do. I couldn't find a lot of issues relating to improving the docs but I might have missed them. I would be interested in helping more if needed.
Documenting assertions
I wasn't sure exactly how much detail to include here. I originally started adding an entry for every combination of type/kind that was supported but decided against this due to the amount of maintenance that would be needed. I have now opted for documenting each different base type supported (i.e.
INTEGER,REAL, etc) but not down to the detail ofINTEGER(INT64), for example.It is also likely that I have missed out some supported functionality as I found it quite difficult to discover where things where defined in the src. At least one thing I think I have missed is the ability to mix the types of
expectedandactualvalues (i.e.@assertEqual(INTEGER expected, REAL, actual), for example). I thought I ought to wait for the input of someone who may know more before I spent too much time writing something that is not true.